package com.zhsource.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>@ClassName：User
 * <p>@Date 2023/10/17  10:17
 *
 * @Author zzl
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Long id;
    private String username;
    // 手机号码
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state;
    private Long departmentId;
    private Long logininfoId;

    // 添加一个字段，用于接收用户对应的角色

    private List<Long> roleIds;
}
